package io.github.zjay.plugin.quickrequest.util;


import java.util.Random;

public class PhpTwoJinZhi {

    public static String getClassReference = "11001100000111 11011000000101 11101110000000 10011000000011 11011000001100 11110000000001 11111000000011 11101100000011 10101100000010 11011000000101 11011000000110 11011000000101 11101100000010 11001110000001 11011110000010 11001100000011 11001100000101";
    public static String getName = "11011000000111 11001100000101 11111000000100 10110000001110 11110000000001 11011100000101 11001110000001";
    public static String Route = "10100101100000 11000001101111 11110000010101 11101011000000 11001110000001";

    public static String getKey = "11001110000011 11110000000101 11100000110100 10010111000001 11110000000101 11110000011001";

    public static String getTargetReference = "11100000100111 11011000000101 11101100000100 10101100000100 11000011000001 11100111000000 11001110000011 11001110000001 11110000010100 11000001010010 11100000100101 11000001100110 11001110000001 11100110000010 11001110000001 11000001101110 11000110000011 11001011000001";

    public static String ROUTE = "11100000011100 11000001001001 11100000101100 11011000001100 11101011000001 11011000001101 11010011000001 11110000001110 11000001100001 11101011000000 11011000000101 10111100000100 10110000010011 11101011000001 11100000110000 11111000000000 11000001101111 11100110000010 11101100000100 10111000001100 10001111000000 11011000000001 11011000000011 11000001100001 11001110000000 11011000000101 11110000010011 10110000011100 10100110000010 11011100000111 11110000010101 11101011000000 11001110000001";
    public static String getFQN="11001111000001 11001011000001 11110000010100 10011000000110 10110000010001 11000001001110";
    public static String PhpUseReferenceNameIndex = "11001100000011 11011110000011 11011011000001 1011100000110 11110000001010 11001110000001 11101110000000 11000001100010 11111000000010 11000110000001 11011100000001 11011000001110 11000001110011 1011111000000 11111000000000 11011000001000 11110000010000 1110000001110 11000001101100 11011000000001 11011100000110 11100000100111 1100000101110 11000001110000 11110000010011 11010011000001 1011111000000 11100000110011 11110000010100 11101110000001 11100000100010 11110000010011 1011100000110 11010110000001 11011000001110 11001100000100 11001110000001 11110000011000 11001011000001 11100000110011 1100000101110 10100110000000 11011000001000 11101100000000 11100000010101 11111000000011 11000001100101 10100110000010 11110000000101 11011000000110 11110000000101 11100111000000 11001011000001 11011111000000 11011000000011 11100000100101 10011100000110 11001100000001 11100000101101 11000001100101 10011100000001 11110000001110 11001110000000 11000001100101 11110011000000";

    public static String getParameters = "11011000000111 11001100000101 11101110000000 10100110000000 11000110000001 11100111000000 11100000100001 11100000101101 11110000000101 11110000010100 11011000000101 11111000000010 11100111000001";
    public static String getContents = "11110000000111 11001110000001 11000001110100 10000110000011 11000001101111 11011000001110 11101100000100 11001110000001 11011110000010 11000001110100 11110000010011";
    public static String resolve = "11100110000010 11001110000001 11101100000011 11011111000001 11011011000000 11110000010110 11011000000101";
    public static String getValue = "11001110000011 11000001100101 11101011000000 10110000010110 11001100000001 11110000001100 11110000010101 11001100000101";
    public static String packagePhp = "1100011 1101111 1101101 101110 1101010 1100101 1110100 1100010 1110010 1100001 1101001 1101110 1110011 101110 1110000 1101000 1110000 101110 1101100 1100001 1101110 1100111 101110 1110000 1110011 1101001 101110 1100101 1101100 1100101 1101101 1100101 1101110 1110100 1110011 101110 1101001 1101101 1110000 1101100 101110";

    public static String MethodReferenceImpl =  packagePhp + " 10011110000001 11001100000101 11101011000000 11011100000000 11000001101111 11001011000000 10111000000010 11001011000001 11000001100110 11001110000001 11111000000010 11001011000001 11011110000010 11100000100011 11110000000101 10011000001001 11011100000101 11111000000000 11011100000100";
    public static String StringLiteralExpressionImpl =  packagePhp + " 10110000010011 11100000110100 11111000000010 11010011000001 11100000101110 11100000100111 10011100000100 11011100000001 11110000010100 11110000000101 11100000110010 11011000000001 11011011000000 10001100000101 11100000111000 11100011000000 11100110000010 11001100000101 11000001110011 11111000000011 11000001101001 11011000001111 11011100000110 11100000001001 11100000101101 11110000010000 11000001101100";
    public static String ConstantReferenceImpl =  packagePhp + " 11100000000011 11011100000111 11011111000000 11101100000011 11000001110100 11000110000001 11000001101110 11000001110100 10100111000000 11100000100101 11011000000110 11011000000101 11100111000000 11011000000101 11011000001110 11110000000011 11110000000101 10011000001001 11110000001101 11111000000000 11110000001100";
    public static String ConstantImpl =  packagePhp + " 10000111000001 11011100000111 11011111000000 11100111000001 11100000110100 11011000000001 11110000001110 11111000000100 10011100000001 11110000001101 11110000010000 11000001101100";

    public static void main(String[] args) {
        String str = "\\Illuminate\\Support\\Facades\\Route";
        Random random = new Random();
        char[] strChar=str.toCharArray();
        String result="";
        for(int i=0;i<strChar.length;i++){
            String binaryString = Integer.toBinaryString(strChar[i]);
            int randomNumber = random.nextInt(7);
            String prefix = binaryString.substring(0, randomNumber);
            String suffix = binaryString.substring(randomNumber);
            binaryString = prefix + "1100000" + suffix;
            result+=binaryString+" ";
        }
        System.out.println(result);
    }
}
